package com.dragon.modules.yuegou.service.merchant;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.merchant.UserJpushMessageEntity;
import com.dragon.modules.yuegou.model.merchant.UserJpushMessage;

import java.util.List;

/**
 * 商户用户极光IM对应关系表 服务接口
 *
 * @author pbuilder generated
 * @date 2020-03-11 16:02:02
 * @version 2.0
 */
public interface UserJpushMessageService extends IService<UserJpushMessageEntity> {

    /**
     * 根据用户id查询
     * @param userId
     * @return
     */
    UserJpushMessage getByMerchantUser(String userId);

    /**
     * 根据商户id查询
     * @param merchantId
     * @return
     */
    List<UserJpushMessage> selectByMerchant(String merchantId);

}